import request from '@/utils/request'

export function listZczm(data) {
    return request({
      url: 'work/zczmInfo',
      method: 'post',
      data: data
    })
  }

  // 修改tb
export function updateZczm(data) {
    return request({
      url: '/work/zczm',
      method: 'put',
      data: data
    })
  }
  
  // 删除tb
  export function delZczm(text) {
    return request({
      url: '/work/zczm/' + text,
      method: 'delete'
    })
  }

  export function addZczm(data) {
    return request({
      url: '/work/zczm',
      method: 'post',
      data: data
    })
  }